package cn.firecode.data_collect.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangfan
 * @since 2019-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CollectEnvironmentT extends Model<CollectEnvironmentT> {

    private static final long serialVersionUID = 1L;

    /**
     * 环境编号
     */
    @TableId(value = "environment_id", type = IdType.AUTO)
    private Integer environmentId;

    /**
     * 机械臂编号
     */
    private Integer robotId;

    /**
     * 头端装置编号
     */
    private Integer deviceId;

    /**
     * 钻头编号
     */
    private Integer drillId;

    /**
     * 套管编号
     */
    private Integer drivepipeId;

    /**
     * 描述信息
     */
    private String describeInfo;

    /**
     * 创建时间
     */
    private LocalDate createTime;

    /**
     * 0-有效  1-删除
     */
    private Integer status;


    @Override
    protected Serializable pkVal() {
        return this.environmentId;
    }

}
